package com.mini.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 项目名称：traditional-business
 * 类 名 称：RequirementPlanDistributionRes
 * 类 描 述：TODO
 * 创建时间：2020/12/21
 * 创 建 人：zhanghuiying
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("机会分配的需求规划查询结果")
public class RequirementPlanDistributionRes {

    @ApiModelProperty(value = "量子军团id")
    private Integer quantumArmyGroupId;
    @ApiModelProperty(value = "名片需求量")
    private Integer cardCount;
    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty(value = "是否接收余量 0-否 1-是")
    private Integer receivingResidue;
    @ApiModelProperty(value = "模式 0-全部 1-A模式 2-B模式")
    private Integer pattern;
    @ApiModelProperty(value = "分配内容列表")
    private List<RequirementPlanContentRes> requirementPlanContentRes;
}
